package com.rightsidetech.system.mapper;

import com.rightsidetech.system.dtos.request.OperatorLogReq;
import com.rightsidetech.system.dtos.response.ModifyLogNameResp;
import com.rightsidetech.system.dtos.response.OperatorLogResp;
import com.rightsidetech.system.entity.SysAgentOperatorLog;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysAgentOperatorLogMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SysAgentOperatorLog record);

    int insertSelective(SysAgentOperatorLog record);

    SysAgentOperatorLog selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SysAgentOperatorLog record);

    int updateByPrimaryKey(SysAgentOperatorLog record);

    void saveList(List<SysAgentOperatorLog> list);

    List<OperatorLogResp> page(@Param("req") OperatorLogReq req,@Param("agentId")Long agentId);

    List<ModifyLogNameResp> selectList();
}